enumerator TModelStyle { Undefined, CivilStore, MilitaryStore, MoneyStore, Defensive, Prison, LandRover, SeaRover, Special }; enumerator TState { UnderConstruction, Completed, Demolished }; enumerator TGeometry { Arbitrary, Orthogonal }; enumerator TOrdinal { North, West, South, East }; enumerator TBuildingType { UNDEFINED=0, CIV_HOUSING=1, MIL_HOUSING=2, SOC_BUILDING=4, UNLOCATED=8, CIV_STORE=16, MIL_STORE=32, MON_STORE=64, PRISON=128, CIV_SOC_STORE=20, CIVILIAN_MON_STORE=65, SOCIAL_UNLOCATED=12, MILITARY_UNLOCATED=10 }; structure TModel { TGeometry Geometry; TModelStyle Style; TBuildingType Type; integer Duration; integer Timber; integer Stone; integer Strength; integer Burnability; integer Capacity; integer Tech; float Width; float Depth; float OriginX; float OriginY; TOrdinal Facing; }; TModel Models[]; // don't change the order of the models Models = [ // Village Models. "Hut 1" = (Arbitrary, Undefined, CIV_HOUSING, 5, 4, 1, 1, 4, 4, 0), "Hut 2" = (Arbitrary, Undefined, CIV_HOUSING, 7, 4, 6, 2, 1, 4, 0), "Hut 3" = (Arbitrary, Undefined, CIV_HOUSING, 10, 1, 9, 3, 1, 6, 0), "House 1" = (Arbitrary, Undefined, CIV_HOUSING, 30, 4, 26, 3, 3, 10, 0), "House 2" = (Arbitrary, Undefined, CIV_HOUSING, 50, 12, 38, 3, 4, 15, 0), "Small Townhouse 1" = (Arbitrary, Undefined, CIV_HOUSING, 70, 42, 28, 3, 6, 8, 1), "Small Townhouse 2" = (Arbitrary, Undefined, CIV_HOUSING, 90, 45, 45, 3, 6, 12, 1), "Small Townhouse 3" = (Arbitrary, Undefined, CIV_HOUSING, 130, 52, 78, 4, 3, 16, 1), "Large Townhouse 1" = (Arbitrary, Undefined, CIV_HOUSING, 150, 90, 60, 3, 6, 20, 2), "Large Townhouse 2" = (Arbitrary, Undefined, CIV_HOUSING, 210, 84, 126, 4, 3, 24, 2), "Chiefs Hut 1" = (Arbitrary, Undefined, CIVILIAN_MON_STORE, 130, 90, 40, 3, 6, 9, 0), "Manor House 1" = (Arbitrary, Undefined, CIV_HOUSING, 330, 115, 182, 4, 3, 22, 3), "Small Armoury 1" = (Arbitrary, MilitaryStore, MIL_STORE, 170, 34, 136, 4, 3, 60, 0), "Large Armoury 1" = (Arbitrary, MilitaryStore, MIL_STORE, 370, 148, 222, 5, 3, 200, 2), "Small Storehouse 1" = (Arbitrary, CivilStore, CIV_STORE, 90, 85, 5, 2, 7, 150, 0), "Large Storehouse 1" = (Arbitrary, CivilStore, CIV_STORE, 290, 174, 116, 3, 6, 400, 1), "Water Well 1" = (Arbitrary, Undefined, SOC_BUILDING, 45, 0, 40, 4, 2, 20, 1), "Small Church 1" = (Arbitrary, Undefined, SOC_BUILDING, 910, 182, 728, 4, 4, 20, 2), "Large Church" = (Arbitrary, Undefined, SOC_BUILDING, 5000, 1252, 3758, 5, 2, 40, 3), "Cathedral 1" = (Arbitrary, Undefined, SOC_BUILDING, 25500, 3838, 21752, 6, 1, 100, 4), "Monastery 1" = (Arbitrary, Undefined, SOCIAL_UNLOCATED, 7680, 1920, 5760, 5, 2, 150, 3), "Graveyard 1" = (Arbitrary, Undefined, SOC_BUILDING, 60, 6, 54, 4, 0, 20, 1), "Corner Stall 1" = (Arbitrary, Undefined, CIV_SOC_STORE, 3, 2, 0, 1, 8, 4, 0), "Stall 2" = (Arbitrary, Undefined, CIV_SOC_STORE, 3, 2, 0, 1, 8, 4, 0), "Stall 3" = (Arbitrary, Undefined, CIV_SOC_STORE, 3, 2, 0, 1, 8, 4, 0), "Farmhouse 1" = (Arbitrary, Undefined, CIV_HOUSING, 150, 15, 135, 3, 4, 10, 0), "Farmhouse 2" = (Arbitrary, Undefined, CIV_HOUSING, 210, 74, 136, 3, 6, 12, 1), "Stables 1" = (Arbitrary, Undefined, SOC_BUILDING, 40, 38, 2, 2, 9, 4, 0), "Barracks" = (Arbitrary, Undefined, MIL_HOUSING, 150, 200, 0, 2, 9, 10000, 0), "Prison" = (Arbitrary, Undefined, PRISON, 140, 80, 80, 2, 9, 4, 2), // Stockade Models. "Stock Walkway Std" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 16, 60, 0, 3, 3, 0, 0, 0.5, 0.5, 0, 0, West), "Stock Walkway Proj" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 16, 60, 0, 4, 2, 0, 0, 0.5, 0.5, 0, 0, North), "Stock Walkway X" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 24, 60, 0, 2, 4, 0, 0, 0.5, 0.5, 0, 0, West), "Stock Guard Std" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 10, 60, 0, 4, 3, 0, 0, 0.5, 0.5, 0, 0, West), "Stock Guard Corn" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 15, 100, 0, 4, 3, 0, 0, 0.5, 0.5, 0, 0, West), "Stock Guard Proj" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 20, 120, 20, 5, 2, 0, 0, 0.5, 0.5, 0, 0, West), "Stock Watch 2" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 20, 150, 0, 2, 4, 1, 0, 0.5, 0.5, 0, 0, West), "Stock Watch 3" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 30, 200, 0, 2, 5, 1, 0, 0.5, 0.5, 0, 0, West), "Stock Stair" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 10, 70, 0, 2, 4, 0, 0, 0.5, 0.25, 0, 0.125, West), "Stock Gate" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 20, 150, 1, 2, 4, 0, 0, 0.5, 0.5, 0, 0, West), "Stock Bailey" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 60, 350, 6, 4, 3, 30, 1, 1, 1, 0, 0, West), "Stock Gatehead-L" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 20, 150, 1, 2, 4, 0, 0, 0.5, 0.5, 0, 0, West), "Stock Gatehead-R" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 20, 150, 1, 2, 4, 0, 0, 0.5, 0.5, 0, 0, West), "Stock Inside Corner-L" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 20, 150, 1, 2, 4, 0, 0, 0.5, 0.5, 0, 0, West), "Stock Inside Corner-R" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 20, 150, 1, 2, 4, 0, 0, 0.5, 0.5, 0, 0, West), // Castle Models. "Wall Standard" = (Orthogonal, Defensive, MILITARY_UNLOCATED,60, 20, 200, 7, 0, 0, 1, 1, 0.5, 0, -0.25, West), "Wall Bartizan" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 80, 20, 250, 7, 0, 0, 2, 1, 1, 0, 0, West), "Wall Tower" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 300, 40, 400, 8, 1, 6, 4, 1, 1, 0, 0, South), "Wall Turret" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 200, 30, 300, 8, 0, 4, 3, 1, 1, 0, 0, South), "Corner Standard" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 400, 40, 500, 9, 0, 0, 1, 0.5, 0.5, 0.25, -0.25, North), "Corner Bartizan" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 400, 60, 600, 9, 0, 0, 1, 1, 1, 0, 0, North), "Corner Tower" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 500, 100, 800, 9, 1, 8, 3, 1, 1, 0, 0, West), "Corner Turret" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 300, 80, 700, 9, 0, 5, 2, 1, 1, 0, 0, North), "Gatehouse left" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 400, 80, 700, 9, 0, 5, 1, 1, 1, 0, 0, West), "Gatehouse centre" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 500, 80, 500, 8, 0, 2, 1,1, 0.5, 0, -0.25, West), "Gatehouse right" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 400, 80, 700, 9, 0, 5, 1, 1, 1, 0, 0, West), "Barbican left" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 300, 80, 700, 9, 0, 5, 3, 1, 1, 0, 0, West), "Barbican centre" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 300, 80, 500, 8, 0, 2, 3, 1, 0.5, 0, -0.25, West), "Barbican right" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 300, 80, 700, 9, 0, 5, 3, 1, 1, 0, 0, West), "Gate Wood" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 20, 150, 1, 2, 4, 0, 1, 1, 1, 0, 0, West), "Gate Iron" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 40, 150, 1, 2, 0, 0, 2, 1, 1, 0, 0, West), "Keep 2" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 2000, 900, 7200, 10, 1, 40, 2, 3, 3, 0, 0, East), "Keep 3" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 2000, 900, 7200, 10, 1, 60, 3, 3, 3, 0, 0, East), "Strong Shack" = (Orthogonal, Defensive, MILITARY_UNLOCATED, 1000, 900, 7200, 10, 1, 60, 3, 3, 3, 0, 0, East), // Other Crap. "Dock Middle" = (Arbitrary, Undefined), "Dock End" = (Arbitrary, Undefined), "Standing Stone 1" = (Arbitrary, Undefined), "Stone Circle 1" = (Arbitrary, Undefined), "Outcrop 1" = (Arbitrary, Undefined), "Outcrop 2" = (Arbitrary, Undefined), "Cart 1" = (Arbitrary, LandRover), "Cart 2" = (Arbitrary, LandRover), "Small Cog 1" = (Arbitrary, SeaRover, UNDEFINED, 60, 150), "Galley 1" = (Arbitrary, SeaRover, UNDEFINED, 100, 200), "Large Cog 1" = (Arbitrary, SeaRover, UNDEFINED, 200, 400), // Siege Engines. "Ladder 1" = (Arbitrary, LandRover), "Ballista 1" = (Arbitrary, LandRover), "Catapult 1" = (Arbitrary, LandRover), "Trebuchet 1" = (Arbitrary, LandRover), "Ram 1" = (Arbitrary, LandRover), "Siege Tower 1" = (Arbitrary, LandRover) ];